<?php
require_once("../global.php");
require_once "laporan-spt.php";
baca_permisi(6);
global $permisi,$mode;
if($permisi[access]!="izin"){
	echo "<script>window.location='../warning.php'</script>";
}
?>
<html>
<head>
<title>Data Master</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../tampilan.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    function disable(ctrl1,ctrl2,ctrl3){
        //var t = document.formviewspt;
        if (ctrl1.checked){
            ctrl2.disabled=true;
            ctrl2.checked=false;
            ctrl3.disabled=true;
            ctrl3.checked=false;
        }else{
            ctrl2.disabled=false;
            ctrl3.disabled=false;
        }
    }
</script>
<style>
@media print {
  div#noDisplay {
    display: none;
  }
}
</style>
</head>
<?=$fungsi_pindah?>
<body leftmargin="0" topmargin="0">
                  <?=generate_form($inp_par);?>
</body>
</html>
